{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 2.7. Writing high-quality Python code"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "def power(x, n):\n",
    "    \"\"\"Compute the power of a number.\n",
    "\n",
    "    Arguments:\n",
    "    * x: a number\n",
    "    * n: the exponent\n",
    "\n",
    "    Returns:\n",
    "    * c: the number x to the power of n\n",
    "\n",
    "    \"\"\"\n",
    "    return x ** n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Imports\n",
    "# -------\n",
    "import numpy\n",
    "\n",
    "# Utility functions\n",
    "# -----------------\n",
    "\n",
    "def fun():\n",
    "    pass"
   ]
  }
 ],
 "metadata": {},
 "nbformat": 4,
 "nbformat_minor": 2
}
